<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/WEB-INF/dream.tld" prefix="dream"%>
    <% String ctx = request.getContextPath();
   request.setAttribute("ctx", ctx);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>新闻动态</title>
<meta content="新闻动态" name="description" />
<meta content="新闻动态" name="keywords" />
<meta content="all" name="robots" />
<link href="${ctx}/css/skin/style/style.css" type="text/css"
	rel="stylesheet" />
<link href="${ctx}/css/skin/style/common.css" type="text/css"
	rel="stylesheet" />
<script type="text/javascript" src="${ctx}/js/common.js"></script>
</head>
<body>
<div class="crumbs">首页 &gt; 新闻动态
</div>
<div class="page">
<div class="maintitle">
<p>新闻动态</p>
</div>
<div class="list">
<ul>
	<c:if test="${empty(list)}">
		<li>
		<p>没有数据</p>
</li>
	</c:if>
	<c:forEach var="news" items="${list}">
		<li>
		<p><a href="news.do?method=findNewsBynId&nId=${news.nId }">${news.newsTitle}</a></p>
		${news.remark } [<a
			href="news.do?method=findNewsBynId&nId=${news.nId }" >查看全文</a>]
		</li>
	</c:forEach>
</ul>


 <dream:page url="${ctx}/news.do?method=findAllNews&page=" name="pageInfo" styleClass="currentA"/>

<div class="function"></div>
</div>
</div>
</body>
</html>